//二级页面的bill页面的js代码

//获取销售单号span元素
let singlenumber = document.getElementById('singlenumber');
//获取授权码span元素
let autioncode = document.getElementById('autioncode');

//获取销售单号input元素
let input_singlenumber = document.getElementById('input_singlenumber');
//获取授权码input元素
let input_autioncode = document.getElementById('input_autioncode');

//销售单号input点击事件
input_singlenumber.onclick = function() {
    singlenumber.style.fontSize = '12px'
    singlenumber.style.top = '0px'
    autioncode.style.fontSize = '16px'
    autioncode.style.top = '10px'
    this.style.borderBottomColor = '#00a862'
    input_autioncode.style.borderBottomColor = '#e8e8e8'
}

//授权码input点击事件
input_autioncode.onclick = function() {
    singlenumber.style.fontSize = '16px'
    singlenumber.style.top = '10px'
    autioncode.style.fontSize = '12px'
    autioncode.style.top = '0px'
    this.style.borderBottomColor = '#00a862'
    input_singlenumber.style.borderBottomColor = '#e8e8e8'
}